﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace MyTask.Domain.Commands
{
    public class ShareTaskCommand
    {
        [Required(ErrorMessage = "From User cannot be empty")]
        public int FromUserId { get; set; }

        [Required(ErrorMessage = "To User cannot be empty")]
        public int ToUserId { get; set; }

        [Required(ErrorMessage = "Taks information cannot be empty")]
        public int TaskInfoId { get; set; }
    }
}
